import express from 'express'
import bcrypt from 'bcryptjs'
import jwt from 'jsonwebtoken' 

import { addRegister, findLogin, findPermissions} from '../components/register.js'
const router = express.Router()

router.post('/addRegister',addRegister)
router.post('/findLogin',findLogin)
router.post('/findPermissions',findPermissions)
export default router